//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Spreadsheet.Expressions;

namespace OpenLS.Spreadsheet
{
    class InvalidEvaluationContext: EvaluationContext
    {
        public override Cell Target
        {
            get { return null;   }
        }

        public override CellRelativeAddress Offset
        {
            get { return new CellRelativeAddress();}
        }

        public override Worksheet Worksheet
        {
            get { return null; }
        }

        public override Workbook Workbook
        {
            get { throw new NotImplementedException(); }
        }


        internal override EvaluationContext CreateOffseted(CellRelativeAddress cellRelativeAddress)
        {
            return this;
        }
    }
}